package com.demo.mqtt.common.fromCommon.response;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 返回码enum
 * </p>
 *
 * @author gobigg
 * @since 2019/6/14
 */
@NoArgsConstructor
@AllArgsConstructor
public enum ResponseCode {
    /**
     * org.springframework.http.HttpStatus.UNAUTHORIZED
     */
    OK(200, "OK"),
    UNAUTHORIZED(401, "401 Unauthorized"),
    FORBIDDEN(403, "403 Forbidden"),
    NOT_FOUND(404, "404 Not Found"),
    INTERNAL_SERVER_ERROR(500, "您的信息有误,请联系管理员哟");


    public Integer code;

    public String msg;


}
